package org.struts2kata;

import com.opensymphony.xwork2.ActionSupport;

public class Display extends ActionSupport {

	private String displayRequest;

	public void setDisplayRequest(String displayRequest) {
		this.displayRequest = displayRequest;
	}
	
	protected String getDisplayRequest() {
		return displayRequest;
	}

	public String execute() throws Exception {
		System.out.println(displayRequest);
		return SUCCESS;
	}

}
